package com.sugar.queryinfo.module.business.controller.admin.dataquery.vo;

import com.sugar.queryinfo.framework.common.validation.Mobile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Schema(description = "管理后台 - 数据查询新增/修改 Request VO")
@Data
public class DataQueryAuditSaveReqVO {

    @Schema(description = "数据ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "唯一标识不能为空")
    private Long id;

    @Schema(description = "查询类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "查询类型不能为空")
    @Size(min = 1, message = "查询类型不能为空")
    private List<String> queryType;
}